[PATCH] Use dbus-run-session to run D-Bus tests instead of dbus-launch
authorPino Toscano <toscano.pino@tiscali.it>
Sun, 23 Nov 2025 09:45:27 +0000 (10:45 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 8 Feb 2026 01:59:21 +0000 (01:59 +0000)
commit229bf34c66e6ff41be3abf98058c502b6448a3e2
tree4765c0b448faeec331c45af1d71ce609db965161
parent2594a4e789f7314adceae5c00207b3d5cc5ce837
[PATCH] Use dbus-run-session to run D-Bus tests instead of dbus-launch

dbus-run-session spawns a session that gets terminated automatically
after the execution of the command. It is a simpler way compared to
dbus-launch, which relies on the X11 tolaunching (which would explain
why it is not used on macOS, as the comment says).

Hence, use dbus-run-session instead of dbus-launch to run each D-Bus
test. Keep the existing macOS behaviour as-is for now, adding a comment
to test using dbus-run-session in the future.

Gbp-Pq: Name upstream_Use-dbus-run-session-to-run-D-Bus-tests-instead-of-d.patch
tests/CMakeLists.txt